using System.Windows.Forms;

namespace LoginSystem
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void InitializeComponent()
        {
            this.Text = "主界面";
            this.Width = 800;
            this.Height = 600;
            this.StartPosition = FormStartPosition.CenterScreen;

            Label lblWelcome = new Label();
            lblWelcome.Text = "欢迎来到主界面！";
            lblWelcome.AutoSize = true;
            lblWelcome.Location = new System.Drawing.Point(350, 250);

            this.Controls.Add(lblWelcome);
        }
    }
}